<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/6/8 0008
  Time: 9:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>党建网 - 中宣部主管全国性党建网站</title>
    <link rel="icon" href="http://archive.wenming.cn/jingtai/dangjian/images/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="http://archive.wenming.cn/jingtai/dangjian/images/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" href="/css/master2016.css"><!--整站公共样式-->
    <link rel="stylesheet" href="/css/public-top20170427.css"><!--头部、底部公共样式-->
    <link rel="stylesheet" href="/css/djw2020031303-gl.css">
    <script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/js/jquery.superslide.tab.2.1.1.js"></script>
    <script type="text/javascript" src="/js//lx-public2017.js"></script><!--公共js-->
    <script language="JavaScript">
        <!--
        function createPageHTML(_nPageCount, _nCurrIndex, _sPageName, _sPageExt){
            if(_nPageCount == null){
                return;
            }

            var prevPage = _nCurrIndex-1//上一页
            var nextPage = _nCurrIndex+1//下一页

            //设置上一页代码
            if(_nPageCount>1&&_nCurrIndex!=0&&_nCurrIndex!=1){
                document.write("<span class=\"First_Page_action\"><a href=\""+_sPageName+"."+_sPageExt+"\">首&nbsp;&nbsp;页</a></span>&nbsp;<span class=\"Fir_Page_action\"><a href=\""+_sPageName+"_" + prevPage + "."+_sPageExt+"\">上一页</a></span>&nbsp;");
            }
            else if(_nPageCount>1&&_nCurrIndex!=0&&_nCurrIndex==1){
                document.write("<span class=\"First_Page_action\"><a href=\""+_sPageName+"."+_sPageExt+"\">首&nbsp;&nbsp;页</a></span>&nbsp;<span class=\"Fir_Page_action\"><a href=\""+_sPageName+"."+_sPageExt+"\">上一页</a></span>&nbsp;");
            }
            else{
                document.write("<span class=\"First_Page\">首&nbsp;&nbsp;页</span>&nbsp;<span class=\"Fir_Page\">上一页</span>&nbsp;");
            }

            //循环输出页数
            var num = 5;//每组显示页码数量
            for(var i=0+(_nCurrIndex-_nCurrIndex%num);i<=(num-1+(_nCurrIndex-_nCurrIndex%num))&&(i<_nPageCount); i++){
                if(_nCurrIndex==i){
                    document.write("<span class=\"action_num\">"+(i+1)+"</span>&nbsp;");
                }
                else if(i==0){
                    document.write("<a href=\""+_sPageName+"."+_sPageExt+"\">"+(i+1)+"</a>&nbsp;");
                }
                else{
                    document.write("<a href=\""+_sPageName+"_" + i + "."+_sPageExt+"\">"+(i+1)+"</a>&nbsp;");
                }
            }

            //设置下一页代码
            if(_nPageCount>1&&_nCurrIndex!=(_nPageCount-1)){
                document.write("<span class=\"next_Page_Action\"><a href=\""+_sPageName+"_" + nextPage + "."+_sPageExt+"\">下一页</a></span>&nbsp;<span class=\"Last_Page_Action\"><a href=\""+_sPageName+"_" + (_nPageCount-1) + "."+_sPageExt+"\">尾&nbsp;&nbsp;页</a></span>&nbsp;");
            }
            else{
                document.write("<span class=\"next_Page\">下一页</span>&nbsp;<span class=\"Last_Page\">尾&nbsp;&nbsp;页</span>&nbsp;");
            }

            //跳转页面
            document.write("<font class=\"font12\">转到第&nbsp;<input type='text' value='"+(_nCurrIndex+1)+"' style='width:30px;font-size:12px;' onkeydown='toPage(event,this)' />&nbsp;页</font>");
        }
        //跳转页面方法
        function toPage(_event,_obj){
            if(_event.keyCode!=13){
                return false;
            }
            var _num = _obj.value;
            var countPage = 20;
            if(isNaN(_num)){
                alert("请输入数字");
                return false;
            }
            var url = "index"+"_"+(_num-1)+"."+"shtml";
            if(_num<=1||_num==null)
                location.href = "index"+"."+"shtml";
            else if(_num>countPage)
                alert("本栏目最多"+countPage+"页");
            else
                location.href = url;
        }
        -->
        var winW = $(window).width();
        if(winW <= 768) {
            document.querySelector('html').style.fontSize = document.documentElement.clientWidth / 10 + 'px';
        }
    </script>


</head>
<body>
<div style="display: none;"><img src="/img/dangjian-share191011.jpg"></div>
<!--此处放“通用头部调用2017”-->
<div class="dj">
    <div class="inner">
        <div class="header">
            <div class="header-left">
                <a href="http://www.dangjian.com/"><img src="/img/dangjian-20161121-01.png"></a>
            </div>
            <div class="header-right">
                <div class="header-top">
                    <div class="header-pic1">

                        <div class="foucua01">
                            <ul class="slides_item01" style="position: relative; width: 560px; height: 93px;">

                                <li style="position: absolute; width: 560px; left: 0px; top: 0px; display: none;"><a href="#"><img src="/img/W020161124384578401337.png" alt="banner1-1.png" title="" width="560" height="85"></a></li>

                                <li style="position: absolute; width: 560px; left: 0px; top: 0px; display: none;"><a href="#"><img src="/img/W020161124385045731082.png" alt="banner1-4.png" title="" width="560" height="85"></a></li>

                                <li style="position: absolute; width: 560px; left: 0px; top: 0px;"><a href="#"><img src="/img/W020161124384501294075.png" alt="banner1-5.png" title="" width="560" height="85"></a></li>



                            </ul>
                            <div class="num" style="display:none"><li class="">1</li><li class="">2</li><li class="on">3</li></div>
                        </div>

                    </div>
                    <div class="header-pic2">


                        <li><a href="#" target="_blank"><img src="/img/W020180202571094726487.jpg" alt="1.jpg" title="" width="265" height="85"></a></li>


                    </div>
                    <div class="clear"></div>
                </div>
                <div class="header-bottom">
                    <div class="date">
                        <div class="date" id="localtime"><font color="#777">2021-06-08   星期二</font></div>

                        <script type="text/javascript">
                            function showLocale(objD) {
                                var str, colorhead, colorfoot;
                                var yy = objD.getYear();
                                if(yy < 1900) yy = yy + 1900;
                                var MM = objD.getMonth() + 1;
                                if(MM < 10) MM = '0' + MM;
                                var dd = objD.getDate();
                                if(dd < 10) dd = '0' + dd;
                                var hh = objD.getHours();
                                if(hh < 10) hh = '0' + hh;
                                var mm = objD.getMinutes();
                                if(mm < 10) mm = '0' + mm;
                                var ss = objD.getSeconds();
                                if(ss < 10) ss = '0' + ss;
                                var ww = objD.getDay();
                                if(ww == 0) colorhead = "<font color=\"#777\">";
                                if(ww > 0 && ww < 6) colorhead = "<font color=\"#777\">";
                                if(ww == 6) colorhead = "<font color=\"#777\">";
                                if(ww == 0) ww = "星期日";
                                if(ww == 1) ww = "星期一";
                                if(ww == 2) ww = "星期二";
                                if(ww == 3) ww = "星期三";
                                if(ww == 4) ww = "星期四";
                                if(ww == 5) ww = "星期五";
                                if(ww == 6) ww = "星期六";
                                colorfoot = "</font>"
                                str = colorhead + yy + "-" + MM + "-" + dd + " " + "  " + ww + colorfoot;
                                return(str);
                            }

                            function tick() {
                                var today;
                                today = new Date();
                                document.getElementById("localtime").innerHTML = showLocale(today);
                                window.setTimeout("tick()", 1000);
                            }
                            tick();
                        </script>
                    </div>
                    <div class="jcsp">
                        <div class="jcsp1"><a href="#">【精彩视频】</a></div>

                        <div class="zd"><div class="zd1"></div><a href="#">【中铁八局第一工程公司】修桥人</a></div>

                        <div class="zd"><div class="zd1"></div><a href="#">【深圳巴士集团公共汽车分公司】电车工匠</a></div>

                        <div class="clear"></div>
                    </div>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
</div>

<div class="nav">
    <div class="inner">
        <ul>
            <c:forEach items="${typeBySize}" var="i">
                <li ><a href="/getNewsByNO?type=${i.name}&Pageno=1" >${i.name} </a></li>
            </c:forEach>
            <div class="clear"></div>
        </ul>
    </div>
</div>
<!--END-->
<div class="iph-logo"><img src="/img/djw-logomobile04.png"></div>

<div class="iph-tit"><a href="#" title="四川化院党建网" class="CurrChnlCls">四川化院党建网</a>&nbsp;&gt;&nbsp;
    <a href="#" target="_blank">${type}</a></div>

<div class="main">
    <div class="inner">
        <div class="main-tit">当前位置：<a href="/" target="_blank" title="党建网" class="CurrChnlCls">四川化院党建网</a>&nbsp;&gt;&nbsp;
           &nbsp;&gt;&nbsp;<a href="#" target="_blank" title="${type}" class="CurrChnlCls">${type}</a>&nbsp;&gt;&nbsp;
        </div>
        <div class="djfb-top">
            <h4><div style="color: #444;"><a href="#">${type}</a></div></h4>

            <div class="clear"></div>
        </div>


        <div class="main-left">


            <ul>



                <c:forEach items="${newsByPage}" var="news">

                    <li>
                        <div style="float: left;"><a href="/readNews?id=${news.id}" title="${news.title}">${news.title}</a></div>
<%--                        <fmt:formatDate value="${news.createtme}" pattern="yyyy-MM-dd"> <span>${news.createtme}</span></fmt:formatDate>--%>
                        <div class="clear"></div>
                    </li>

                </c:forEach>

            </ul>



        </div>

        <div class="pagelink_xl">

            <span class="First_Page"><a href="/getNewsByNO?type=${type}&Pageno=1">首&nbsp;&nbsp;页</a></span>&nbsp;
            &nbsp; &nbsp; &nbsp;
            <span class="Fir_Page"><a href="/getNewsByNO?type=${type}&Pageno=${Pageno-1}">上一页</a></span>&nbsp;
            &nbsp; &nbsp; &nbsp;
            <span class="next_Page_Action"><a href="/getNewsByNO?type=${type}&Pageno=${Pageno+1}">下一页</a></span>
            &nbsp; &nbsp; &nbsp;

        </div>

    </div>
</div>
<div class="clear"></div>
<div class="ft-cp">党建网出品</div>
<!--此处放“通用尾部调用2017”-->
<div class="danwei">

<div class="footer">
    <div class="inner">
       <div class="footerbox">
                党建网版权所有 一爽 转载请注明来源<br>
       </div>

    </div>
</div>
<!--END-->


</body></html>